package com.sky.constant;

/**
 * 文章相关常量
 */
public class ArticleConstant {

    //默认浏览量、点赞数、评论量
    public static final Long DEFAULT_LONG = 0L;

    //默认是否置顶、是否推荐
    public static final Integer DEFAULT_INTEGER = 0;


    public static final String  ARTICLE_NOT_FOUND = "文章不存在";

    public static final String  ARTICLE_NOT_LIKE = "文章未点赞";

    //Redis中文章浏览量的key前缀
    public static final String  ARTICLE_VIEW = "article:view:";

    //Redis中文章点赞量的key前缀
    public static final String  ARTICLE_LIKE = "article:like:";


    //Redis中文章排名的key
    public static final String ARTICLE_RANK_KEY = "article:rank";
}
